package com.zh.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zh.entity.QueryLog;
import com.zh.mapper.QueryLogMapper;
import com.zh.service.QueryLogService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 查询日志表 服务实现类
 * </p>
 *
 * @author wiki
 * @since 2018-03-22
 */
@Service
public class QueryLogServiceImpl extends ServiceImpl<QueryLogMapper, QueryLog> implements QueryLogService {


    @Override
    public Page<QueryLog> search(Page<QueryLog> page, String businessId, String searchValue) {
        page.setRecords(baseMapper.search(page,businessId, searchValue));
        return page;
    }
}
